<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Title</title>
</head>
<body>
    <h1>用户登录</h1>
    <form th:action="@{/user/login}" method="post">
        用户名：<input type="text" name="username"><br/>
        密码：<input type="password" name="password"><br/>
        <input type="submit" value="登录">
    </form>

    <a th:href="@{/user/registerview}">点我去注册</a>
</body>
</html>
